package com.yz.base.each;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yuanzheng
 * @date 2020/8/17-19:53
 */
public class ListDemo {
    public static void main(String[] args) {
        List<Object> list = new ArrayList<>(3);
        list.add("a");
        list.add("b");
        list.add("c");
        list.forEach(System.out::println);

    }
}
